
.category-page{

  $search-height: 110px;
  .page-head{
    top: 0;
    left: 0;
    right: 0;
    height: $search-height;
    z-index: 10;
    padding: 0 30px;
    position: sticky;
    background: #fff;
    .search-icon{
      color: #555;
      padding-right: 20px;
    }
    .input-box{
      width: 100%;
      height: 64px;
      padding: 0 30px;
      background: #f5f5f5;
      border-radius: 60px;
    }
    .search-input{
      flex: 1;
      height: 100%;
      font-size: 24px;
    }
    .placeholder-input{
      color: #999;
    }
  }

  .page-body{
    display: flex;
  }

  .cty-list{
    top: $search-height;
    left: 0;
    width: 180px;
    height: calc(100vh - #{$search-height} - 100px);
    z-index: 100;
    position: fixed;
    background: $theme_bg_color;
    .cty-item{
      width: 100%;
      height: 80px;
      display: flex;
      position: relative;
      align-items: center;
      justify-content: center;
      &:after{
        content: '';
        width: 4px;
        top: 0;
        left: 0;
        bottom: 0;
        display: none;
        position: absolute;
        background: $category-active-color;
        border-top-right-radius: 4px;
        border-bottom-right-radius: 4px;
      }
      &__active{
        color: $category-active-color;
        background: #fff;
        font-weight: bold;
        &:after{
          display: inline;
        }
      }
    }
  }

  .body-right{
    flex: 1;
    padding-left: 170px;
    .cty-item{
      &__last{
        min-height: calc(100vh - #{$search-height} - 100px);
      }
    }
    .child-item{
      width: 33.33%;
      height: 180px;
      &:nth-last-child(n+4){
        margin-bottom: 30px;
      }
    }
    .cty-name{
      height: 140px;
      position: relative;
      &:before, &:after{
        content: '';
        width: 100px;
        height: 2px;
        background-color: #999;
      }
      &:after{margin-left: 30px;}
      &:before{margin-right: 30px;}
    }
    .child-img{
      width: 120px;
      height: 120px;
    }
    .child-name{
      font-size: 24px;
      margin-top: 20px;
    }
  }
}
